/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Collections;

namespace SES.CMS.DO
{
    [Serializable]
    public class cmsProductDO
    {

        /// <summary>
        /// Summary description for cmsProductDO
        /// </summary>


        #region Public Constants (Fields name)
        public const string PRODUCTID_FIELD = "ProductID";
        public const string PRODUCTCODE_FIELD = "ProductCode";
        public const string PRODUCTTITLE_FIELD = "ProductTitle";
        public const string PRODUCTCATEGORYID_FIELD = "ProductCategoryID";
        public const string DESCRIPTION_FIELD = "Description";
        public const string DETAILDESCRIPTION_FIELD = "DetailDescription";
        public const string PRODUCTIMAGE_FIELD = "ProductImage";
        public const string ISNEW_FIELD = "IsNew";
        public const string ISBESTBUY_FIELD = "IsBestbuy";
        public const string ORDERID_FIELD = "OrderID";
        public const string PRICE_FIELD = "Price";
        public const string CHARTIMAGE_FIELD = "ChartImage";
        public const string ISPROMOTION_FIELD = "IsPromotion";
        public const string SALEPRICE_FIELD = "SalePrice";
        public const string ISSETTOP_FIELD = "IsSetTop";
        public const string ISHOMEPAGE_FIELD = "IsHomepage";
        public const string ISFINISHED_FIELD = "IsFinished";
        public const string PROMOTIONENDDATE_FIELD = "PromotionEndDate";
        public const string ORIGINID_FIELD = "OriginID";
        public const string BRANDID_FIELD = "BrandID";
        public const string METADES_FIELD = "MetaDes";
        public const string METATAG_FIELD = "MetaTag";
        public const string PAGETITLE_FIELD = "PageTitle";
        public const string ACTIVE_FIELD = "Active";
        public string Thumbnail { get; set; }
        public string PromotionImages { get; set; }
        public string Warranty { get; set; }

        #endregion
        public string ProductCategoryCode { get; set; }

        #region Private Variables
        private Int32 _ProductID;
        private String _ProductCode;
        private String _ProductTitle;
        private Int32 _ProductCategoryID;
        private String _Description;
        private String _DetailDescription;
        private String _ProductImage;
        private Boolean _IsNew;
        private Boolean _IsBestbuy;
        private Int32 _OrderID;
        private Int64 _Price;
        private String _ChartImage;
        private Boolean _IsPromotion;
        private Int64 _SalePrice;
        private Boolean _IsSetTop;
        private Boolean _IsHomepage;
        private Boolean _IsFinished;
        private DateTime _PromotionEndDate;
        private Int32 _OriginID;
        private Int32 _BrandID;
        private String _MetaDes;
        private String _MetaTag;
        private String _PageTitle;
        private Boolean _Active;

        #endregion

        #region Public Properties
        public Int32 ProductID
        {
            get
            {
                return _ProductID;
            }
            set
            {
                _ProductID = value;
            }
        }
        public String ProductCode
        {
            get
            {
                return _ProductCode;
            }
            set
            {
                _ProductCode = value;
            }
        }
        public String ProductTitle
        {
            get
            {
                return _ProductTitle;
            }
            set
            {
                _ProductTitle = value;
            }
        }
        public Int32 ProductCategoryID
        {
            get
            {
                return _ProductCategoryID;
            }
            set
            {
                _ProductCategoryID = value;
            }
        }
        public String Description
        {
            get
            {
                return _Description;
            }
            set
            {
                _Description = value;
            }
        }
        public String DetailDescription
        {
            get
            {
                return _DetailDescription;
            }
            set
            {
                _DetailDescription = value;
            }
        }
        public String ProductImage
        {
            get
            {
                return _ProductImage;
            }
            set
            {
                _ProductImage = value;
            }
        }
        public Boolean IsNew
        {
            get
            {
                return _IsNew;
            }
            set
            {
                _IsNew = value;
            }
        }
        public Boolean IsBestbuy
        {
            get
            {
                return _IsBestbuy;
            }
            set
            {
                _IsBestbuy = value;
            }
        }
        public Int32 OrderID
        {
            get
            {
                return _OrderID;
            }
            set
            {
                _OrderID = value;
            }
        }
        public Int64 Price
        {
            get
            {
                return _Price;
            }
            set
            {
                _Price = value;
            }
        }
        public String ChartImage
        {
            get
            {
                return _ChartImage;
            }
            set
            {
                _ChartImage = value;
            }
        }
        public Boolean IsPromotion
        {
            get
            {
                return _IsPromotion;
            }
            set
            {
                _IsPromotion = value;
            }
        }
        public Int64 SalePrice
        {
            get
            {
                return _SalePrice;
            }
            set
            {
                _SalePrice = value;
            }
        }
        public Boolean IsSetTop
        {
            get
            {
                return _IsSetTop;
            }
            set
            {
                _IsSetTop = value;
            }
        }
        public Boolean IsHomepage
        {
            get
            {
                return _IsHomepage;
            }
            set
            {
                _IsHomepage = value;
            }
        }
        public Boolean IsFinished
        {
            get
            {
                return _IsFinished;
            }
            set
            {
                _IsFinished = value;
            }
        }
        public DateTime PromotionEndDate
        {
            get
            {
                return _PromotionEndDate;
            }
            set
            {
                _PromotionEndDate = value;
            }
        }

        public Int32 OriginID
        {
            get
            {
                return _OriginID;
            }
            set
            {
                _OriginID = value;
            }
        }
        public Int32 BrandID
        {
            get
            {
                return _BrandID;
            }
            set
            {
                _BrandID = value;
            }
        }
        public String MetaDes
        {
            get
            {
                return _MetaDes;
            }
            set
            {
                _MetaDes = value;
            }
        }
        public String MetaTag
        {
            get
            {
                return _MetaTag;
            }
            set
            {
                _MetaTag = value;
            }
        }
        public String PageTitle
        {
            get
            {
                return _PageTitle;
            }
            set
            {
                _PageTitle = value;
            }
        }
        public Boolean Active
        {
            get
            {
                return _Active;
            }
            set
            {
                _Active = value;
            }
        }

        #endregion

    }
}
